package com.wyw.design.model.learning.structure.flyweight;

/**
 * @Title       具体的享元角色
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/3/30 18:18
 * Update History:
 * Author        Time            Content
 */
public class ConcreteFlyweight extends Flyweight{

    // 接受外部状态
    public ConcreteFlyweight(String extrinsic) {
        super(extrinsic);
    }

    // 根据外部状态进行一些逻辑处理
    @Override
    public void operate() {
        // 具体的业务逻辑
    }
}
